package com.yesjpt.context;

import java.util.Arrays;
import java.util.List;

/**
 * 常量定义
 * @author Administrator
 *
 */
public class Consts {
	/**验证码放到session中的key*/
	public static final String SESSIONVALIDATECODEKEY = "rand";
	/**session中保存用户信息的key*/
	public static final String SESSIONMANAGERKEY = "ucode" ;
	public static final String 斗内电工 = "1";
	public static final String 地面电工 = "2";
	public static final String 驾驶员 = "3";
	/**session中保存语言的key*/
	public static final String SESSIONlANGUAGEKEY = "lang";
	//定义通用的图片字段
	public static final String[] PIC_FIELDS = {"picture", "photo", "logo", "bakground", "icon"};
	//定义通用的图片字段
	public static final String[] USER_FIELDS = {"updaterid", "creatorid"};
	//定义通用的字典字段
	public static final String[] DIC_FIELDS = {"type", "kind", "nature", "status", "ridOption", "unitsj", "unitlc", "memoni", "ridoptionns", "ridns"};
	public static final String[] 项 = {"一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二", "十三", "十四"};
	//字义通用的附件字段
	public static final String[] FILE_FIELDS = {"url", "docurl", "file", "attach", "resume"};
	//人员属性
	public static final List<String> 当前人员属性 = (List<String>) Arrays.asList("8A8080825CCD0F7B015CCD5FD60E0017", "402881825CFBE1E5015CFBE225B00001", "402881825CFB9D52015CFBCC0B58002C", "402881825CFB9D52015CFBC24A6D000E");
	//人员属性
	public static final List<String> 当前日期属性 = (List<String>) Arrays.asList("402881825CFB9D52015CFBCC4E92002D", "8A8080825D104361015D1044C3DB0001", "8A8080825CCD0F7B015CCD600CF90018", "8A8080825CCD0F7B015CCD5F6C380016", "402881825CFB9D52015CFBC15889000B");
	//要求编码唯一的节点
	public static final List<String> 编码唯一根节点 = (List<String>) Arrays.asList("5", "68", "10", "33", "28", "6", "12");
	//要求编码唯一的节点
	public static final List<String> 不拦截的URL = (List<String>) Arrays.asList("logout", "httpIf", "10", "33", "28", "6", "12");
	//yyyy-MM-dd日期格式
	public static final String DF_YYYY_MM_DD = "yyyy-MM-dd";
	public static final String DF_YYYYMMDD = "yyyyMMdd";
	public static final String DF_YYYY_MM_DD_cn = " yyyy 年 MM 月 dd 日 ";
	public static final String DF_YYYY_MM = "yyyy-MM";
	//yyyy-MM-dd HH:mm:ss日期格式
	public static final String DF_YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
	public static final String DF_HH_MM_SS = "HH:mm:ss";
	public static final String DFYYYYMMDDHHMMSS = "yyyyMMddHHmmss";
	public static final String DF_YYYY_MM_DD_HH_MM = "yyyy-MM-dd HH:mm";
	public static final String DF_HH_MM = "HH:mm";
	public static final String DF_YYYY = "yyyy";
}
	
